package org.tote.service;

import java.util.Date;
import java.util.List;

import org.tote.model.Audit;
import org.tote.model.AuditOperationType;


public interface AuditService {
	
	public List<String> getAuditOperationTypes();
	
	public List<Audit> getAuditRecords(AuditOperationType type, Date beginDate, Date endDate, String userName, int page, int limit);

	void saveAudit(Audit audit);
	
	public long getMaxPage(AuditOperationType type, Date beginDate, Date endDate, String userName, int limit);
}
